package board.renders;

import java.awt.Image;
/** This interface outlines the method(s) used
 *  by the GridPane of objects to render the grid
 *  lines for the grid.  All objects used to
 *  render the grid lines must implement this
 *  interface.  
 * 
 * @author R.Wisniewski1101
 */
public interface LineRender extends PrimableRender {
	/** Should the vertical lines be drawn
	 *  or after the horizontal lines.  
	 * 
	 * @return - the order
	 */
	public boolean isVerticalFirst();
	/** Get the image used for the horizontal
	 *  line with the given number (numbered
	 *  from the bottom).  
	 * 
	 * @param lineNumber - the line number (counted from the bottom)
	 * @param width - the intended width of the line
	 * @return - the line image
	 */
	public Image getHorizontalLine(int lineNumber, int width);
	/** Get the image used for the vertical
	 *  line with the given number (numbered
	 *  from the left).  
	 * 
	 * @param lineNumber - the line number (counted from the left)
	 * @param height - the intended height of the line
	 * @return - the line image
	 */
	public Image getVerticalLine(int lineNumber, int height);
}
